package com.lm.scau.mailottodemo;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;

/**
 * Function:
 * auth：liming on 2016/5/23 10:21
 * mail：liming@wxchina.com
 */
public class NextActivity extends AppCompatActivity {
    private Button btnTar;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_next);
        btnTar = (Button)findViewById(R.id.btnTarget);
        btnTar.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                startActivity(new Intent(NextActivity.this,TargetActivity.class));
                finish();
            }
        });
    }
}
